package admin

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type DoctorAdminController struct {
	auto.DoctorController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/Doctor/:id", 		&DoctorAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/info", 		&DoctorAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/scan", 		&DoctorAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/list", 	    &DoctorAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/update", 	&DoctorAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/create", 	&DoctorAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/copy", 	    &DoctorAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/edit", 	    &DoctorAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/delete", 	&DoctorAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/:id/:field", &DoctorAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/choice", &DoctorAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/Doctor/category", &DoctorAdminController{}, "*:CategoryAction")
}
//func (this *DoctorAdminController) Prepare() {}
//func (this *DoctorAdminController) ListAction() {}
//func (this *DoctorAdminController) GetAction() {}
//func (this *DoctorAdminController) InfoAction() {}
//func (this *DoctorAdminController) ScanAction() {}
//func (this *DoctorAdminController) CreateAction() {}
//func (this *DoctorAdminController) UpdateAction() {}
//func (this *DoctorAdminController) CopyAction() {}
//func (this *DoctorAdminController) DeleteAction() {}
//func (this *DoctorAdminController) EditAction() {}
//func (this *DoctorAdminController) SonsAction() {}
//func (this *DoctorAdminController) ChoiceAction() {}
//func (this *DoctorAdminController) CategoryAction() {}
